package com.example.agriculyural.FactoryMethod;
// 具体农机类

public class SeedingMachine extends AgriculturalMachine {
    public SeedingMachine(String id) {
        super(id);
    }

    @Override
    public void performOperation() {
        this.status = "播种中";
        System.out.println("播种机 " + id + " 正在执行播种作业");
    }

    @Override
    public String getMachineType() {
        return "播种机";
    }
}



